<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
</head>
<body>
<div class="contenttitle2">
	<h3>卡密库数据列表</h3>
</div>
<div class="dataTables_wrapper" id="dyntable2_wrapper">
<div id="dyntable2_length" class="dataTables_length"><label>Show <select size="1" name="dyntable2_length"><option value="10" selected="selected">10</option><option value="25">25</option><option value="50">50</option><option value="100">100</option></select> entries</label></div>
<div class="dataTables_filter" id="dyntable2_filter">
	<input type="hidden" id="add_id" ng-model="card_id">
	<a href="javascript:void(0)" class="btn btn_orange btn_note" ng-click="addNew()"><span>新增</span></a>
	<a href="javascript:void(0)" class="btn btn_orange btn_pencil" ng-click="update()"><span>修改</span></a>
	<a href="" class="btn btn_orange btn_trash"><span>删除</span></a>
</div>
<table cellpadding="0" cellspacing="0" border="0" class="stdtable" id="dyntable2">
     <colgroup>
         <col class="con0" style="width: 2%" />
         <col class="con1" />
         <col class="con0" />
         <col class="con1" />
         <col class="con0" />
     </colgroup>
     <thead>
         <tr>
           <th class="head1 nosort"><input type="checkbox"/></th>
           <th class="head1">卡编号</th>
           <th class="head1">卡密码</th>
           <th class="head1">入库时间</th>
           <th class="head1">出库时间</th>
           <th class="head1">状态</th>
           <th class="head1">操作</th>
         </tr>
     </thead>
     <tbody>
         <tr class="gradeA" ng-repeat="card in cards">
           <td align="center">
	           <span class="center">
	             <input type="checkbox" value="{{card.id}}" ng-click="checkClick(card.id,pd)"/>
	           </span>
           </td>
             <td>{{card.id}}</td>
             <td>{{card.cardm}}</td>
             <td>{{card.in_date}}</td>
             <td>{{card.out_date}}</td>
             <td>{{card.status}}</td>
             <td>
             </td>
         </tr>
       </tbody>
     </table>
     <div ng-show="totalPage>1">
	     <div class="dataTables_info" id="dyntable2_info">显示 1 至 10 条,总页数</div>
	     <div class="dataTables_paginate paging_full_numbers" id="dyntable2_paginate">
		     <span ng-class="first paginate_button {paginate_button_disabled}[currentPage==1]" class="first paginate_button paginate_button_disabled" id="dyntable2_first" ng-click="currentPage=1;load()">首页</span>
		     <span class="previous paginate_button paginate_button_disabled" id="dyntable2_previous" ng-click="prev()">上一页</span>
		     
		     <span class="next paginate_button" id="dyntable2_next" ng-click="next()">下一页</span>
		     <span class="last paginate_button" id="dyntable2_last" ng-click="currentPage=totalPage;load()">末页</span>
	     </div>
     </div>
     </div>